/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jbanco;

/**
 *
 * @author Cláudio
 */
public class Funcionario extends Pessoa {

    private String name;
    private String user;
    private String password;
    private TipoFunc permission;


    public Funcionario(){
        user = null;
        password = null;
        permission = null;
 
    }


    public Funcionario(String name, String user, String password, TipoFunc permission){
        this.name = name;
        this.user = user;
        this.password = password;
        this.permission = permission;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public TipoFunc getPermission() {
        return permission;
    }

    public void setPermission(TipoFunc permission) {
        this.permission = permission;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
